package com.seek.eduorder.client;

import com.seek.commonutils.ordervo.UcenterMemberInfoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: wml
 * @since: 2022/3/2 23:06
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    // 根据用户 id 获取用户信息
    @GetMapping("/educenter/member/getUserInfoOrder/{id}")
    UcenterMemberInfoOrder getUserInfoOrder(@PathVariable("id") String id);
}
